package com.yn.club.auth.application.convert;


import java.util.List;
import com.yn.club.auth.domain.entity.AuthRolePermissionDO;
import com.yn.club.auth.application.dto.AuthRolePermissionDTO;
import com.yn.club.auth.application.request.AuthRolePermissionSaveRequest;
import com.yn.club.auth.application.request.AuthRolePermissionQueryRequest;
import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 角色权限关联表(AuthRolePermission)DTO和DO转换
 *
 * @author YN
 * @since 2025-01-22 17:11:12
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface AuthRolePermissionApplicationConverter {

  AuthRolePermissionDTO convertDoToDto(AuthRolePermissionDO ojb);
  
  List<AuthRolePermissionDTO> convertDoToDto(List<AuthRolePermissionDO> ojbs);
  
  AuthRolePermissionDO convertDtoToDo(AuthRolePermissionDTO ojb);
  
  List<AuthRolePermissionDO> convertDtoToDo(List<AuthRolePermissionDTO> ojbs);
  
  AuthRolePermissionDO convertSaveRequestToDo(AuthRolePermissionSaveRequest ojb);
  
  AuthRolePermissionDO convertQueryRequestToDo(AuthRolePermissionQueryRequest ojb);
  
  
}

